
 
<?php
	$magio=$_GET["magio"];
	$curPage=$_REQUEST['curPage'];
	$sql="select * from giohoatdong  where GioHoatDongID=$magio";
	$kq=mysql_query($sql);
	$n=mysql_num_rows($kq);
	if($n==0)
	{
		echo "No data";
	}
	else 
	{
		$r=mysql_fetch_array($kq);
		$matv=$r["GioHoatDongID"];
		$giobatdau=$r["GioBatDau"];
		$gioketthuc=$r["GioKetThuc"];
	}
?>
<table width="740" border="0" cellspacing="0" cellpadding="0">
<form method="post" action="include/giohoatdong-xulyupdate.php">
  <tr>
    <td style="padding-left:80px" height="30">Giờ Bắt Đầu :</td>
    <td><input type="text" name="giobatdau" style="width:240px" value="<?php echo "$giobatdau"; ?>"></td>
  </tr>
  <tr>
  <td style="padding-left:80px" height="30">Giờ Kết Thúc :</td>
    <td><input type="text" name="gioketthuc" style="width:240px" value="<?php echo "$gioketthuc"; ?>"></td>
  </tr>
  <tr>
  	<td class="ketthuc" colspan="2" height="35" align="center">
    <input name="Update" type="submit" value="Update" class="button">
    <input name="" type="reset" value="Reset" class="button">  
    </td>
  </tr>
  <input type="hidden" name="magio" value="<?php echo "$magio"; ?>" /> 
  <input type="hidden" name="curPage" value="<?php echo "$curPage"; ?>" />
  </form>
</table>







